from sqlalchemy import Column, String, Integer, and_, or_
from DataBase.DataBaseConnect import DBConnect

class User(DBConnect.Base):
    #Base作为被继承的类
    __tablename__ = 'user'
    id = Column(Integer,primary_key=True)
    phone = Column(String(20),nullable=False,index=True)